package com.buer.storage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("buer_stock")
public class Stock {
    @TableId(type = IdType.AUTO)
    private Integer stockId;
    private String prodCode;
    private String prodName;
    private String prodSpecial;
    private String prodImg;
    private Integer prodStocknum;
    private Integer prodAwaitnum;
    private Integer prodResiduenum;
    private Integer prodNum;
    private Integer outId;
    private Integer allotId;
    private Integer prodPrice;
    private String emit;
    private Integer prodArea;
    private Integer prodDepart;
    private String prodNumber;
    private Integer warehouseId;
    private Integer worderPutid;
    private Integer categoryTwoId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date prodDate;
}
